﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <css file="__STATIC__/css/base.css"/>
            <jquery />
            <jscont />
            <css file="__STATIC__/ui/css/flick/jquery-ui-1.8.23.custom.css" rel="stylesheet" />
            <js file="__STATIC__/ui/js/jquery-1.8.0.min.js"></script>
            <js file="__STATIC__//ui/js/jquery-ui-1.8.23.custom.min.js"></script>
            <script type="text/javascript">
                $(function(){
                    $("#tabs").tabs();
                })
            </script>

    </head>
    <body>
        <div class="path">
            <a href="#">新闻</a><span>></span>
            <a href="#">php使用</a>
        </div>
        <div id="tabs" style="width:100%">
            <ul>
                <li><a href="#tabs-1">添加文章</a></li>
            </ul>
            <div id="tabs-1">
                <form action="__CONTROL__/update" method="post">
                    <table class="table2">
                        <tr>
                            <th>标题：</th>
                            <td><input type="text" name="title" style="width:360px;" value="{$row.title}" /></td>
                        </tr>
                       
                            <tr>
                                <th>发表栏目：</th>
                                <td><select name="catid">
                                        <option value="{$row.catid}">选择栏目</option>
                                     
                                            <option value="{$row.catid}"></option>
                                      
                                    </select></td>
                            </tr>
                        
                        <tr>
                            <th>来源：</th>
                            <td><input type="text" name="news_data[source]" style="width:200px;"/>
								<input type="hidden" name="id" value="{$row.id}" />
								<select>
                                    <option value="">===选择来源===</option>
                                </select></td>
                        </tr>
                        <tr>
                            <th>缩略图：</th>
                            <td><upload name="thumb"/></td>
                        </tr>
                        <tr>
                            <th>跳转url：</th>
                            <td><input type="text" name="gourl" style="width:260px;"/></td>
                        </tr>
                        <tr>
                            <th>关键字：</th>
                            <td><input type="text" name="keywords" value="{$row.keywords}" style="width:300px;"/></td>
                        </tr>
                        <tr>
                            <th>描述：</th>
                            <td><textarea style="height:60px;width:90%"  name="description">{$row.description}</textarea></td>
                        </tr>
                        <tr>
                            <th>正文：</th>
                            <td><editor content="{$row.body}" name="news_data[body]" /></td>
                        </tr>
                        <tr>
                            <th>内容页模板：</th>
                            <td><input type="text" name="news_data[template]" style="width:300px;"/></td>
                        </tr>
                        <tr>
                            <th>点击率：</th>
                            <td><input type="text" name="click" style="width:100px;" value="100"/></td>
                        </tr>
                        <tr>
                            <td>
                                <input type="submit" class="submit" value="提交修改"/>
                            </td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </body>
</html>
